//
//  NSString+Download.h
//  DCDownloadOpration
//
//  Created by collegepre on 16/4/1.
//  Copyright © 2016年 Wade. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (DCDownload)
/**
 *  在前面拼接caches文件夹
 */
- (NSString *)prependCaches;

/**
 *  生成MD5摘要
 */
- (NSString *)MD5;

/**
 *  文件大小
 */
- (NSInteger)fileSize;

/**
 *  生成编码后的URL
 */
- (NSString *)encodedURL;

- (BOOL)isEmpty;
- (BOOL)isNotEmpty;

@end
